package com.coyote.common.base;

import io.swagger.v3.oas.annotations.media.Schema;

public interface PageConstant {

    @Schema(description = "默认页码为1")
    Integer DEFAULT_PAGE_INDEX = 1;

    @Schema(description = "分页大小,默认为10")
    Integer DEFAULT_PAGE_SIZE = 10;

    @Schema(description = "分页参数最大值为5000条")
    Integer PAGE_MAX_SIZE = 5000;

    @Schema(description = "排序字段, create_time")
    String CREATE_TIME = "create_time";

    @Schema(description = "排序字段, update_time")
    String UPATE_TIME = "update_time";
}
